package com.kinggrid.mybatisplus.pagination.configration.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 全局属性配置
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "system")
@Component
public class MybatisPlusProperties {
    /**
     * 数据库属性
     */
    private DataBaseProperties dataBase = new DataBaseProperties();

}

